<script type="text/javascript" src="modules/InnoForum/pnjavascript/wz_tooltip.js"></script>
<!--[count_from_db table="innoforum_topics" 
                   label_count=" as 'topic' "
                   extend_field=" tpc_cr_uid"
                   where=" tpc_cr_uid != 2 and tpc_cr_uid != 528"
                   group_by=" tpc_cr_uid"
                   order_by=" topic DESC"
                   count_field = "tpc_id"
                   limit="15"
]-->
    <!--[foreach from=$user_reccommend item=item]-->



			<!--[select_last_topic_by_uid uid=$item.label]-->
			<!--[get_user_name uid=$item.label]-->

      <!--[check_image_directory_path id=$topic.id]-->
      <!--[assign_scan_firstimage assign="fstimage" key=$medium_directory_path]-->

      <div class="newproduct_list">
				<div class="newproduct_image">
        <!--[if $topic.image]-->
          <a target="_blank" href="<!--[pnmodurl modname='InnoForum' func='list' ctrl='posts' id=$topic.id]-->">
					<img src="<!--[$medium_directory_path]--><!--[$topic.image]-->" width="110px" height="83px" alt="<!--[$topic.title]-->"/>
					</a>
					<!--[else]-->
          <img src="images/no_image80.jpg" width="110px" height="83px" alt="ไม่มีรูป"/>
        <!--[/if]-->
				</div>
				<div class="newproduct_title">
      	<a target="_blank" href="<!--[pnmodurl modname='InnoForum' func='list' ctrl='Topics' user_id=$item.label]-->"><!--[$username|mb_truncate:19:""]--></a>
				<a target="_blank" href="<!--[pnmodurl modname='InnoForum' func='list' ctrl='posts' id=$topic.id]-->"><!--[$topic.title|mb_truncate:19:".."]--></a>
				</div>
				<div class="newproduct_price">
				<!--[if is_numeric($topic.price)]-->                               
              <!--[if $topic.price eq '0' ]-->
                <!--[pnml name='_INNOFORUM_USER_NoPrice']-->
              <!--[else]-->
                <!--[$topic.price|number_format:0]-->&nbsp;<!--[pnml name='_INNOFORUM_USER_Baht']--><br />
              <!--[/if]-->  
          <!--[else]-->
            <!--[$topic.price|mb_truncate:19:".."]-->
          <!--[/if]-->
				</div>
				
      </div>
    <!--[/foreach]--> 

